package it.polimi.swKnights.SWIMv2.ejb.abilityManager;

import it.polimi.swKnights.SWIMv2.ejb.exceptions.AlreadyExistingAbilityException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.BadNameAbilityException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidLoginPrivilegesException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import javax.ejb.Remote;

@Remote
public interface AbilityRequestHandlerRemote
{
	public void createAbility(String userName, String password, String name,
			String description) throws AlreadyExistingAbilityException,
			LoginFailException, InvalidLoginPrivilegesException, BadNameAbilityException;
}
